﻿@model PropOnline.ViewModels.Tasacion.BusquedaTasacionViewModel
@{
    ViewBag.Title = "Tasación";
}

@section header {
    <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/prop-online-buscar.js")" type="text/javascript"></script> 
    <script src="@Url.Content("~/Scripts/prop-online-buscar-tasacion.js")" type="text/javascript"></script>
}

<div id="resultados-breadcrumb">        
    @Html.ActionLink("Home", "Index", "Home") &raquo; Tasaci&oacute;n
</div>
<div class="buscar-main">
    <h2>Tasaci&oacute;n</h2>    
@using (Html.BeginForm("Busqueda", "Tasacion"))
{    
    <p>Buscar propiedades en base a las siguientes caracter&iacute;sticas:</p>
    
    @Html.Partial("~/Views/Shared/SearchTemplates/_TipoOperacionZona.cshtml", Model)
    
    <div class="buscar-fields">
    <div class="float-left"> 
        <div class="editor-label">
            @Html.LabelFor(m => m.Calle)
        </div>
    
        <div class="editor-field calle">
            @Html.TextBoxFor(m => m.Calle)                      
        </div>       
    </div>
    
    <div class="float-left altura">
        <div class="editor-label">
            @Html.LabelFor(m => m.Altura)
        </div>
    
        <div class="editor-field">
            @Html.TextBoxFor(m => m.Altura, new { maxlength = "5", type = "number" })    
            <span class="required-sign">*</span>                                                  
        </div>        
        
    </div>  
            
    <div class="float-left validacion-direccion">            
            @Html.ValidationMessageFor(m => m.Calle)
            @Html.ValidationMessageFor(m => m.Altura)            
    </div>
    
    <div class="clear-both"></div>                 
       
    <div class="editor-label">
        @Html.LabelFor(m => m.Ambientes)
    </div>
    
    <div class="editor-field tasacion-ambientes">
        @Html.TextBoxFor(m => m.Ambientes, new { maxlength = "1", type = "number" })         
        @Html.CheckBoxFor(m => m.Dependencia) Con Dependencia        
        <span class="required-sign">*</span>
        @Html.ValidationMessageFor(m => m.Ambientes)
    </div>                      
    
    <div class="editor-label">
        @Html.LabelFor(m => m.Superficie) <span style="font-weight: normal">(m2)</span>
    </div>
    
    <div class="editor-field tasacion-superficie">
        @Html.TextBoxFor(m => m.Superficie, new { maxlength = 6, type = "number" })        
        @Html.ValidationMessageFor(m => m.Superficie)
    </div>        
       
    <div class="required-message">(<span style="color: red">*</span>) Requerido</div>
    
    </div>
    
    <div class="buscar-button">
        <input type="submit" value="Tasar" />        
    </div>
}

</div>

